Top 10 Colors in the Dataset
To explore this question, we will be looking at the Austin Animal Center Shelter Intakes and Outcomes dataset from Kaggle.com. The Austin Animal Center is the largest no-kill animal shelter in the United States, and it provides care and shelter to over 18,000 animals each year. The dataset contains intakes and outcomes of animals entering the Austin Animal Center from the beginning of October 2013 to March of 2018.
First, we will look at the data for cats at the Austin Animal Center. Specifically, we will take a look at how coat color and breed affect the amount of days cats stay at the shelter before their outcomes. Outcomes are defined as what happens to the animal once they leave the shelter. Types of outcomes include:
Figure 1 shows a prelimary view of a subset of the dataset: the mean time spent in shelters by coat color for cats. The mean time spent in shelters is the amount of time an animal is in the shelter before it leaves.
From Figure 1, we can see that Lynx Point/Tortie Point colored cats spend the longest time in the shelter, averaging almost 300 days in the shelter. However, when looking back at the data, if we filter it to find all the Lynx Point/Tortie Point cats, there is only one, and she stayed in the shelter for a total of 270 days. Thus, because there is only one Lynx Point/Tortie Point cat in the dataset, it is not accurate to say that Lynx Point/Tortie Point colored cats generally stay in the shelter the longest.
Lynx Point/Tortie Point
If we take a look at the second longest average time spent at the shelter, we can see that Brown Tabby/Agouti colored cats on average stay in the shelter for the second longest amount of time. Looking through the entire dataset, we can see that again there is only one Brown Tabby/Agouti cat in the dataset, and she stayed in the shelter for 168 days.
Brown Tabby/Agouti
Because the dataset includes many coat colors that don’t appear frequently, it is difficult to make accurate conclusions about the data. To get a more detailed view of the data, we will take a look at the most commmon coat colors in cats in the dataset. Filtering through the dataset, the 10 most common coat colors are:
Brown Tabby
Using this information, we can create a new plot that more accurately represents the dataset. Instead of plotting all of the coat colors, we will use the top 10 most frequent colors in order to avoid a skewed plot.
Figure 2 shows the mean days spent in the shelter by the 10 most frequent coat colors in cats.
From Figure 2, we can conclude that cats that stay in the shelter the longest are black cats, averaging over 22.78 days in the shelter before leaving the shelter. The cats that stay in the shelter the second longest are black and white, averaging 22.19 days. Coming in third are orange tabby and white cats with a mean of 20.802 days.
From Figure 3, we can see that the breed of cat that typically stays in the shelter the longest is the Chartreux Mix. However, if we look at the dataset, there are only 2 chartreux mixes that entered in the shelter from 2013-2018. One was in the shelter for 6.88 days while the other was in the shelter for 366 days. Thus, since there were only 2 Chartreux Mixes and because their data was so widely spread out, this graph does not provide a precise representation of the data.
Chartreux Mix
Therefore, just as we did for thte graphics on coat colors in cats, we will look at the most common cat breeds in the dataset in order to get ta more accurate view of the data.
Filtering through the dataset, the 10 most common cat breeds at the shelter are:
Domestic shorthairs, medium hairs, and longhairs are typically a mix of breeds, otherwise known as a “mutt”. Since most of the cats taken in the animal shelter are strays, it is highly plausible that most of these cats would be domestic shorthairs, medium hairs, and longhairs because wild cats mate among different species.
Figure 4 shows the average number of days spent in the shelter by cat breed.
In conclusion, from Figure 4, we can see that that Domestic Shorthair cats tend to stay in the shelter the longest, followed by Maine Coon Mixes and tthen Domestic Medium Hairs. Domestic Shorthair cats are extremely common in shelters, which could explain why they tend to be in the shelter the longest.
Domestic Shorthair with a Calico Coat
Maine Coon Mix
We will now explore the subset of the dataset that includes dogs. Just as we did for cats, we will look at how coat color and breed affect how long a dog stays in the shelter.
Figure 5 shows a prelimary view of the average number of days dogs stayed in the shelter by coat color.
Viewing Figure 5, we can see that the dog coat color that tends to stay in the shelter the longest is red/red. However, if we refer back to the data, there are only 3 red/red dogs in the entire dataset, with one that spent 330 days in the shelter, another that spent 1825 days, and a third that spent 3650 days in the shelter. Thus, the graph is skewed because of the one red/red dog that spent 3650 days in the shelter.
Therefore, in order to get a more accurate representation of the data, we will focus on the most common dog coats colors, just as we did for the cat data. Processing the dataset, the 10 most common coat colors that we see are:
Figure 6 shows average time spent in the shelter by coat color for the 10 most common dog coat colors.
Therefore, from Figure 6, we can see that brown and white dogs and black and white dogs tend to stay in the shelter the longest.
Brown and white dog
Black and white dog
We will now explore how breed affect the number of days a dog stays in the shelter before its outcome.
Again, in Figure 7, we face the problem where the graph is skewed because 1 or 2 dogs of a certain breed stayed longer than most other dogs. In order to get a more accurate view of the data, we will look at the 10 breeds that most commonly visited the Austin Animal Center. Processing the data, we find that the ten most common breeds are:
Figure 8 shows the average number of days stayed at the shelter by breed of dog for the 10 most common breeds.
From Figure 8, we can see that Pit Bull Mixes and Catahoula Mixes tend to stay in the shelter the longest. Pit Bulls are perceived to be more aggresive than other dogs, which could explain why Pit Bull Mixes tend to stay in the shelter longer than other dogs. Catahoula Mixes are big dogs, which are generally perceived to be more aggressive than small dogs, which could explain why Catahoula Mixes tend to stay in the shelter longer than other dogs. In general, looking at the graph, out of the 10 most common breeds of dogs, the 7 that stay the longest in the shelter are big dogs, while the bottom 3 are all small dogs.
Pitbull Mix
Catahoula Mix
We will now look at the number of animals taken in each year by the Austin Animal Center.
From Figure 9, we can see that the most taken in animals are dogs. Coming in second are cats. The least common animals that are taken into the shelter are birds. This seems reasonable, as dogs and cats are more commonly kept as pets than birds and other animals. These other animals are most likely wild animals like rabbits, racooons, and rats, as the most common outcome for these animals are euthanasia due to rabies risk.
Figure 10 shows the trends for the number of animals taken in by year.
From Figure 10, we can see that from 2013-2014, there was an extremely large increase in the number of dogs and cats taken into the shelter. There was a minor increase in the number of “other” animals, and there were almost no birds taken in.
From 2014-2015, there was a slight decrease in the number of dogs brought in, but there was a slight increase in the number of cats brought in. There was a slight decrease in the number of “other” animals brought in, but there were still almost 0 birds taken in.
From 2015-2016, the number of dogs and cats taken in both declined, while there was an increase in the number of “other” animals and birds taken in.
In the year 2016-2017, there seemed to be very little change in the number of animals taken in from the previous year for all animal types.
From 2017-2018, there was an extremely large decrease in the number of cats and dogs taken in. “Other” animals also were taken in less, and very little birds were taken in.
We will now explore the adoption data for the Austin Animal Shelter.
Black cats have historically been seen as “bad luck” and have been associated with witchcraft. This misconception has often led to black cats not getting adopted as often as other colored cats. However, awareness has risen for black cats, and they seem to becoming more popular. We will test this hypothesis by plotting adoption counts for different colored cats. We will only be looking at the five most common coat colors.
Black Cat
Figure 11 displays the adoption rates for cats with the 5 most common coat colors.
We can see from Figure 11 that brown tabby cats are adopted the most from the shelter. However, we can also see that black cats are adopted second most. Following brown tabby and black cats are black and white cats, orange tabby cats, then tortoiseshell cats. From 2013-2017, black cats experienced a large increase in number of adoptions, along with brown tabby cats. However, from 2017-2018, there was a large decrease in adoptions in all cats. However, this may be because this dataset only includes data up to March of 2018.
Pit bulls have been seen as aggressive and dangerous. However, in the past few years, awareness for pit bulls have increased, and more people seem to be adopting them. We will test this theory by plotting adoption counts for different dog breeds. We will only be looking at the five most common dog breeds.
Figure 12 shows the adoption rates for the 5 most common dog breeds.
From Figure 12, we can see that not as many Pit Bulls were adopted as Chihuahua Shorthair Mixes and Labrador Retreivers from 2013-2014, but after 2014, the amount of Pit Bulls adopted increased greatly. Thus, this graph shows that Pit Bulls are being adopted more as time goes on. Again, data for 2018 is not available for months after March, so there is an increase in number of adoptions for all breeds from 2017-2018.
Trap, Neuter, Release (TNR) is a rescue effort to trap stray cats, neuter them, and then release them in order to curb the number of stray kitten births. TNR is used to
From Figure 13, we can see that the number of intact males and females have decreased over time. Intact means that the cat has not been spayed or neutered yet. The decrease in the number of intact male and female cats shows that TNR has been working to reduce the fertile stray cat population.
The Austin Animal Center Shelter Intakes and Outcomes Dataset is from Kaggle.com, and it was uploaded by Aaron Schlegel.
Link to the dataset: https://www.kaggle.com/aaronschlegel/austin-animal-center-shelter-intakes-and-outcomes#aac_intakes_outcomes.csv